<template>
	<view class="userAgreement"><u-parse :content="content"></u-parse></view>
</template>

<script>
export default {
	data() {
		return {
			content: ''
		};
	},
	onLoad() {
		this.$api.document({ key: 'agreement' }).then(res => {
			this.content = res.data.content;
		});
	}
};
</script>

<style lang="scss">
.userAgreement {
	padding: 24rpx;
}
</style>
